Generic operations and capabilities in the JR concurrent programming language
نویسندگان
چکیده
The JR concurrent programming language extends Java with additional concurrency mechanisms, which are built upon JR’s operations and capabilities. JR operations generalize methods in how they can be invoked and serviced. JR capabilities act as reference to operations. Recent changes to the Java language and implementation, especially generics, necessitated corresponding changes to the JR language and implementation. This paper describes the new JR language features (known as JR2) of generic operations and generic capabilities. These new features posed some interesting implementation challenges. The paper describes our initial implementation (JR21) of generic operations and capabilities, which works in many, but not all, cases. It then describes the approach our improved implementation (JR24) uses to fully implement generic operations and capabilities. The paper also describes the benchmarks used to assess the compilation and execution time performances of JR21 and JR24. The JR24 implementation reduces compilation times, mainly due to reducing the number of files generated during JR program translation, without noticeably impacting execution times.
منابع مشابه
The JR Programming Language: Concurrent Programming in an Extended Java
INTRODUCTION Concurrent programming is concerned with writing programs having multiple processes that may execute in parallel. The topic originated in the 1960s when the invention of independent device controllers (channels) led people to organize operating systems as concurrent programs, even for single-processor machines. Since then, rapid developments in computer architecture have led to an ...
متن کاملContext-Aware Software Approaches: a Comparison and an Integration Proposal
In this paper, we claim that there are complementary features which can bring different paradigms in the DM and PL domains to a fruitful cooperation in building Adaptive Systems. The data tailoring capabilities embedded in the PerLa sensor data management language have been extended, thus applying context-awareness to generic system operations; these operations, in turn, can be expressed as Lay...
متن کاملAdaptive High-Level Scheduling in a Generic Parallel Runtime Environment
We present the design and prototype implementation of a run-time environment (RTE) for the implicitly parallel execution of high-level languages. In our design a micro-kernel provides basic infrastructure, such as garbage collection, but all complex RTE operations, including the handling of parallelism, are implemented on a separate system level. By choosing a high-level language, (Concurrent) ...
متن کاملDevelopment of a goal programming model for optimization of truck allocation in open pit mines
Truck and shovel operations comprise approximately 60% of the total operating costs in open pit mines. In order to increase productivity and reduce the cost of mining operations, it is essential to manage the equipment used with high efficiency. In this work, the chance-constrained goal programing (CCGP) model presented by Michalakopoulos and Panagiotou is developed to determine an optimal truc...
متن کاملAn Exception Handling Mechanism for the Concurrent Invocation Statement
Several concurrent programming languages and systems — e.g., MPI, .NET, and SR — provide mechanisms to facilitate communication between one process and a group of others. One such mechanism is SR’s concurrent invocation statement (co statement). It specifies a group of operation invocations and normally terminates when all of its invocations have completed. To make the co statement more flexibl...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Computer Languages, Systems & Structures
دوره 35 شماره
صفحات -
تاریخ انتشار 2009